import 'package:flutter/material.dart';
import 'package:video/common/pages/application/application_page.dart';
import 'package:video/common/values/values.dart';
import 'package:video/global.dart';

///
/// 程序入口
///
void main() {
  Global.init().then((e) => runApp(MyApp()));
}

///
/// APP
///
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: TITLE_VIDEO,
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: ApplicationPage(),
    );
  }
}
